<?php
error_reporting(E_ALL);

require('config.php');
require('system/kernel.php');

$tm->name = 'default';

$tm->assign('k', 0);
$tm->assign('r', WEBROOT);
$tm->assign('m', $m = ht_get('m'));
$tm->assign('a', $a = ht_get('a'));
$tm->assign('p', $p = intval(ht_get('p')));
$tm->assign('s', $s = rawurldecode(ht_get('s')));
$tm->assign('n', basename($_SERVER['PHP_SELF'], '.php'));
?>
